@extends('common.base-master')

@section('html-head')
    <link rel="stylesheet" type="text/css" href="{{url('css/bootstrap.min.css')}}">
    <link href="{{url('css/user.css')}}" type="text/css" rel="stylesheet"/>
    <script src="{{url('js/user.js')}}"></script>
    <script src="{{url('js/lib/district.unit.js')}}"></script>

    <link href="{{url('js/lib/time/bootstrap-datepicker.css')}}" type="text/css" rel="stylesheet"/>
    <script src="{{url('js/lib/time/bootstrap-datepicker.js')}}"></script>
@endsection

@section('html-body')
    <main>
        <div class="test">
            <div class="mob-fixed-bar" style="display: table-cell;">
                <p><em class="hold-name">我的账号</em>-<em class="hold-info">账号信息</em><em><button>钮</button></em></p>
                <div class="sidebar move">
                    <!--右侧导航-->
                    <nav>
                        <ul>
                            <li class="pos selected">我的帐号</li>
                            <li class="pos">项目管理</li>
                            <li class="pos">关注内容</li>
                            <li class="pos">信息通知</li>
                            @if($user->role == 1)<li class="pos">投资管理</li>@endif
                            @if($user->role == 1)<li class="pos">融资平台</li>@endif
                            {{--<li class="none_">11</li>--}}
                        </ul>
                    </nav>
                    <div class="sub-nav">
                        <!--账号管理-->
                        <ul class="mob-sub-list">
                            <li class="selected">账号信息</li>
                            <li>个人经历</li>
                            <li>修改密码</li>
                            <li>社交账号</li>
                        </ul>
                        <!--约谈关注-->
                        <ul class="mob-sub-list">
                            {{--<li class="selected">约谈</li>--}}
                            <li>创业项目</li>
                            <li>投资人</li>
                            <li>创业者</li>
                            <li>投资机构</li>
                        </ul>
                        <!--投资管理-->
                        <ul style="display: none;">
                            <li>信息管理</li>
                            <li>领投跟投</li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="wrapp">
                <div class="wrapp-main">
                    <div class="f-contain">
                        <div class="s-contain">
                            <!--我的账号-->
                            <!--start-->
                            <section class="start">
                                <div class="sub-nav">
                                    <ul class="sub-list sub-list-1" style="display: block;">
                                        <li class="selected"><em>账号信息</em></li>
                                        <li><em>个人经历</em></li>
                                        <li><em>社交账号</em></li>
                                        <li><em>修改密码</em></li>
                                    </ul>
                                    <!--投资管理-->
                                    <ul class="sub-list sub-list-3" style="display: none;">
                                        <li class="selected"><em>信息管理</em></li>
                                        <li><em>领投跟投</em></li>
                                    </ul>

                                    <!--融资平台-->
                                    <ul class="sub-list sub-list-3" style="display: none;">
                                        <li class="selected"><em>修改信息</em></li>
                                        <li><em>审核项目</em></li>
                                    </ul>
                                </div>

                                <!--账号信息-->
                                <!--start-->
                                <div class="sub-acc-box user-scope-0" style="display: block;">
                                    <p class="desc">友情提示：您的项目信息还没完善，请完善 <b>企业</b> 和 <b>融资</b> 信息</p>
                                    <div>
                                        <ul>
                                            <form id="user_info" name="creator">
                                            <li class="userPhoto"><i>头像</i><a id="inputImage" href="javascript:void(0)"><img id="photo_id" src="{{route('Api.Photo.Show',['id'=>Auth::user()->id])}}" /></a><input type="hidden" name="photoid" id="user_photo_id" value="{{$userInfo?$userInfo->photo_id:''}}"/><em class="s-color">修改头像</em></li>
                                            <li class="real_name_box"><i>真实姓名</i><input type="text" name="realname" class="real_name" value="{{$userInfo?$userInfo->realname:''}}"/><em class="error real_name_err" ></em></li>
                                            <li class="email_box"><i>邮箱</i><input type="text" name="email" class="email" value="{{$userInfo?$user->email:''}}"/><em class="error email_err"></em></li>
                                            <li class="mobile_box"><i>手机</i><input type="text" class="mobile" value="{{$user->phone}}" disabled /><em class="error mobile_err"></em></li>
                                            <li class="desc_box"><i>简介</i><textarea name="user_desc">{{$userInfo?$userInfo->user_desc:''}}</textarea><em class="error desc_err"></em></li>
                                            <li class="role"><i>角色</i>
                                                <div>
                                                    <ul>
                                                        @foreach($roles as $role)
                                                        <li><input type="checkbox" {{$role->checked}} name="roles[]" value="{{$role->id}}"/>{{$role->role}}</li>
                                                        @endforeach
                                                    </ul>
                                                </div>
                                            </li>
                                            <li><i>教育信息</i>
                                                <input type="text" name="edu_school" value="{{$userInfo?$userInfo->edu_school:''}}"/>
                                                <em class="error"></em>
                                            </li>
                                            <li class="city">
                                                <i>所在地区</i>
                                                <select name="province" onChange = "select()"></select> -
                                                <select name="city" onChange = "select()"></select>
                                            </li>
                                            <li><i>微博</i><input type="text" name="weibo" value="{{$userInfo?$userInfo->weibo:''}}" /><em class="error"></em></li>
                                            <li><i>微信</i><input type="text" name="wechat" value="{{$userInfo?$userInfo->wechat:''}}" /><em class="error"></em></li>
                                            <li><i>脉脉</i><input type="text" name="maimai" value="{{$userInfo?$userInfo->maimai:''}}"/><em class="error"></em></li>
                                            <li class="submit"><a href="javascript:;">提交</a></li>
                                         </form>
                                        </ul>
                                    </div>
                                </div>
                                <!--账号信息-->
                                <!--end-->

                                <!--个人经历-->
                                <div class="sub-acc-box user-scope-1" style="display: none;">
                                    <!--创业经历-->
                                    <!--start-->
                                    <div class="enter" >
                                        <h3>创业经历</h3>
                                        <!--插入内容-->
                                        <div class="table-box">
                                            @foreach($user_creates as $user_create)
                                            <div class="dl-box">
                                                <em class="remove" data="{{$user_create->id}}">X</em>
                                                <dl>
                                                    {{--<dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>--}}
                                                    <dd>
                                                        <p><strong>{{$user_create->company}}</strong></p>
                                                        <p><em>{{$user_create->position}} </em></p>
                                                        <time>{{date('Y-m-d',strtotime($user_create->start_time))}} 至 {{date('Y-m-d',strtotime($user_create->end_time))}}</time>
                                                    </dd>
                                                </dl>
                                            </div>
                                            @endforeach
                                            <div class="dl-box addWork add-create">
                                                <p>添加您的创业经历</p>
                                            </div>
                                        </div>
                                        <!--添加创业经历-->
                                        <div class="add_create enter_f" style="display: none;">
                                        <p>添加创业经历</p>
                                        <form id="user_create">
                                        <ul>
                                            <li class="commpany comm"><i>公司简称</i><input type="text" name="company" /></li>
                                            <li><em class="error add_comm_err" style="display: none;"></em></li>
                                            <li class="commpany job"><i>公司职位</i>
                                                <input type="text" name="position" placeholder="如：市场/产品/运营" />
                                            </li>
                                            <li><em class="error add_job_err" style="display: none;"></em></li>
                                            <li class="create_time">
                                                <i>创业时间</i>
                                                <div class="cre-box">
                                                    <p id="dateOnlyExample">
                                                        <input type="text" name="create_start_time" placeholder="请选择开始时间" class="date start" value="" /> 至
                                                        <input type="text" name="create_end_time" placeholder="请选择结束时间" class="date end" value="" />
                                                    </p>
                                                </div>
                                            </li>
                                            <li class="create_btn"><button type="button" class="add">添加</button><button  class="close_">取消</button></li>
                                        </ul>
                                        </form>
                                    </div>
                                </div>
                                <!--创业经历-->
                                <!-- end -->

                                <!--工作经历-->
                                <!--start-->
                                <div class="work">
                                    <h3>工作经历</h3>
                                    <div class="content_box">
                                        @foreach($user_works as $user_work)
                                        <div class="dl-box">
                                         <em class="remove" data="{{$user_work->id}}">X</em>
                                            <dl>
                                                {{--<dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>--}}
                                                <dd>
                                                    <p><strong>{{$user_work->company}}</strong></p>
                                                    <p><em>{{$user_work->position}} </em></p>
                                                    <time>{{date('Y-m-d',strtotime($user_work->start_time))}} 至 {{date('Y-m-d',strtotime($user_work->end_time))}}</time>
                                                </dd>
                                            </dl>
                                        </div>
                                     @endforeach
                                        <!--插入内容-->
                                        <div class="dl-box addWork add-work">
                                            <p>添加您的工作经历</p>
                                        </div>
                                    </div>
                                </div>
                                <!--添加工业经历-->
                                <div class="add_create work_f " style="display: none;">
                                    <p>添加工作经历</p>
                                    <form id="user_work">
                                    <ul>
                                        <li class="commpany comm"><i>公司简称</i><input type="text" name="company" /></li>
                                        <li><em class="error work_comm_err" style="display: none;"></em></li>
                                        <li class="commpany job"><i>公司职位</i>
                                            {{--<select>--}}
                                                {{--<option>CEO创始人</option>--}}
                                                {{--<option>CEO创始人</option>--}}
                                                {{--<option>CEO创始人</option>--}}
                                            {{--</select>--}}
                                            <input type="text" placeholder="如：市场/产品/运营" name="position" />
                                        </li>
                                        <li><em class="error work_job_err" style="display: none;"></em></li>
                                        <li class="create_time">
                                            <i>工作时间</i>
                                            <div class="cre-box">
                                                <p id="dateOnlyExample">
                                                    <input type="text" name="work_start_time" placeholder="请选择开始时间" class="date start" /> 至
                                                    <input type="text" name="work_end_time" placeholder="请选择结束时间" class="date end" />
                                                </p>
                                            </div>
                                        </li>
                                        <li class="create_btn"><button type="button" class="add">添加</button><button class="close_">取消</button></li>
                                    </ul>
                                   </form>
                                </div>
                        </div>
                        <!--工作经历-->
                        <!--end-->

                        <!--个人经历-->
                        <!--end-->

                        <!--社交账号-->
                        <!--start-->
                        <div class="sub-acc-box user-scope-2 sns" style="display: none;">
                            <ul>
                                <li>
                                    <button class="get">获取授权</button>
                                    <p>
                                        <em>未授权</em>
                                        <em class="acc">账号：--</em>
                                    </p>
                                </li>
                                <li>
                                    <button class="get">获取授权</button>
                                    <p>
                                        <em>未授权</em>
                                        <em class="acc">账号：--</em>
                                    </p>
                                </li>
                                <li>
                                    <button class="cancel">取消授权</button>
                                    <p>
                                        <em class="authorization">已授权</em>
                                        <em class="acc">账号：Samcolor</em>
                                    </p>
                                </li>
                            </ul>
                        </div>
                        <!--社交账号-->
                        <!--end-->

                        <!--修改密码-->
                        <!--start-->
                        <div class="sub-acc-box user-scope-3 reset-paw" style="display: none;">
                            <ul>
                                <li>
                                    <p>确认旧密码</p>
                                    <p><input type="password" id="old_password" name="old_password"/></p>
                                    <span class="error old_password" style="display: none;">密码错误</span>
                                </li>
                                <li>
                                    <p>输入新密码</p>
                                    <p><input type="password" id="new_password" name="new_password"/></p>
                                    <span class="error new_password" style="display: none;">密码错误</span>
                                </li>
                                <li>
                                    <p>确认新密码</p>
                                    <p><input type="password" id="check_new_password" /></p>
                                    <span class="error check_password" style="display: none;">密码错误</span>
                                </li>
                            <button type="button" id="btn_changepwd">修改</button>
                            </ul>
                        </div>
                        <!--修改密码-->
                        <!--end-->
                            </section></div>
                </div>
            </div>

            <!--我的账号-->
            <!--end-->

            <!--项目管理-->
            <!--start-->
            <section class="pro-manag" style="display: none;">
                <div class="table-box">
                    <div class="dl-box addWork">
                        <p><a href="{{route('Home.Project.showCreateProject')}}">添加您的项目</a></p>
                    </div>
                    @foreach($projects as $project)
                    <div class="dl-box">
                        <dl>
                            <dt><a class="project_img" href=""><img src="{{route('Api.ProjectLogo.Show',array('id'=>$project->id))}}" /></a></dt>
                            <dd>
                                <p><strong>{{$project->project_name}}</strong></p>
                                <p><em>{{$project->project_intro}}</em></p>
                            </dd>
                            <dd class="pro-detail">
                                <?php
                                    $fields = $project->project_x_fields()->get()
                                ?>
                                <p class="pro-bg bg_1">所在行业：<em>@foreach($fields as $field) {{$field->field}}&nbsp; @endforeach</em></p>
                                <p class="pro-bg bg_2 f-t">成立时间：<em>{{$project->create_time}}</em></p>
                                <p class="pro-bg bg_3 f-t">所在地区：<em>{{$project->province}}-{{$project->city}}</em></p>
                                <p class="pro-bg bg_4 f-t">产品阶段：<em>{{$project->project_status}}</em></p>
                                <p class="pro-bg bg_5 f-t">项目网址：<em>{{$project->getProjectUrlById($project->id,'web')}}</em></p>
                            </dd>
                            <dd class="inv-need">
                                <ul>
                                    <li class="need">
                                        <em>我要：</em>
										<span>
											<em class="color">申请融资中...</em>
											<em class="activity">申请路演</em>
										</span>
                                    </li>
                                    <li class="perfect">
                                        <em>完善项目：</em>
                                        <ul>
                                            <li class="pre-bg bg_6"><a href="{{route('Home.User.showProjectBase',['id'=>$project->id])}}">基础信息</a></li>
                                            <li class="pre-bg bg_7"><a href="{{route('Home.User.showProjectInfo',['id'=>$project->id])}}">项目信息</a></li>
                                            <li class="pre-bg bg_8"><a href="#">融资需求</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </dd>
                        </dl>
                    </div>
                    @endforeach
                <!--如未创建项目则出现-->
                <div class="no_project"  style="display: none;">
                    <div>
                        <p>已经迈出创业的第一步，何不让更多人认识你？</p>
                        <!--跳转到创建新项目-->
                        <a href="cre-project.html"><button>创建项目</button></a>
                    </div>
                    <div>
                        <p>还来不及创业，何不说说你的过去的互联网经历？</p>
                        <button>完善个人经历</button>
                    </div>
                </div>
            </div>
            </section>
            <!--项目管理-->
            <!--end-->

            <!--约谈关注-->
            <!--start-->
            <section class="interview" style="display: none;">
                <div class="sub-nav">
                    <ul class="sub-list sub-list-3" style="display: block;">
                        <li><em>创业项目</em></li>
                        <li><em>投资人</em></li>
                        <li><em>投资机构</em></li>
                    </ul>
                </div>

                <!--创业项目-->
                <div class="cre-pro col col-2" style="display: none;" >
                    <p>您关注了 <em>@if($userFocusProjects){{count($userFocusProjects)}}@else 0 @endif</em> 个创业项目</p>
                    <div class="table-box">
                        @if($userFocusProjects)
                            @foreach($userFocusProjects as $userFocusProject)
                        <div class="dl-box">
                            <dl>
                                <dt><a href="{{route('Home.Project.getProjectById' , ['id'=>$userFocusProject->id])}}"><img src="{{route('Api.ProjectLogo.Show',array('id'=>$userFocusProject->id))}}"></a></dt>
                                <dd>
                                    <p><strong>{{$userFocusProject->project_name}}</strong></p>
                                    <p>{{$userFocusProject->project_intro}}</p>
                                </dd>
                            </dl>
                        </div>
                            @endforeach
                        @endif
                    </div>

                    <!--没项目则出现-->
                    <div class="no-pro" style="display: none;">
                        <p>您还没有关注项目哦，快去关注吧！</p>
                        <button>关注项目</button>
                    </div>
                </div>

                <!--
                --约谈关注(投资人)
                --start
                -->
                <div class="cre-pro col col-3" style="display: none">
                    <p>您关注了 <em>@if($userFocusInvestors){{count($userFocusInvestors)}}@else 0 @endif</em> 个投资人</p>
                    <div class="table-box">
                        @if($userFocusInvestors)
                            @foreach($userFocusInvestors as $userFocusInvestor)
                        <div class="dl-box">
                            <dl>
                                <dt><a href="{{route('Home.Investor.getInvestorByUserId' , ['id'=>$userFocusInvestor->user_id])}}"><img src="{{route('Api.Photo.Show',['id'=>$userFocusInvestor->user_id])}}"></a></dt>
                                <dd>
                                    <p><strong>{{$userFocusInvestor->toUser->userInfo->realname}}</strong></p>
                                    <p>{{$userFocusInvestor->toUser->userInfo->user_desc}}</p>
                                </dd>
                            </dl>
                        </div>
                            @endforeach
                        @endif
                    </div>

                    <!--没项目则出现-->
                    <div class="no-pro" style="display: none;">
                        <p>您还没有关注项目哦，快去关注吧！</p>
                        <button>关注项目</button>
                    </div>
                </div>
                <!--投资人 end -->
                <!--
                --约谈关注(投资机构)
                --start
                -->
                <div class="cre-pro col col-3" style="display: block">
                    <p>您关注了 <em>@if($userFocusInvestorgs){{count($userFocusInvestorgs)}}@else 0 @endif</em> 个机构</p>
                    <div class="table-box">
                        @if($userFocusInvestorgs)
                            @foreach($userFocusInvestorgs as $userFocusInvestorg)
                        <div class="dl-box">
                            <dl>
                                <dt><a href="#"><img src="{{route('Api.OrgLogo.Show',['id'=>$userFocusInvestorg->id])}}"></a></dt>
                                <dd>
                                    <p><strong>{{$userFocusInvestorg->invest_name}}</strong></p>
                                    <p>{{$userFocusInvestorg->invest_desc}}</p>
                                </dd>
                            </dl>
                        </div>
                            @endforeach
                       @endif
                    </div>

                    <!--没项目则出现-->
                    <div class="no-pro" style="display: none;">
                        <p>您还没有关注项目哦，快去关注吧！</p>
                        <button>关注项目</button>
                    </div>
                </div>
                <!--投资机构 end -->
            </section>
            <!--约谈关注-->
            <!--end-->

            <!--信息通知-->
            <!--start-->
            <section class="message" style="display: none;">
                <h3>信息通知</h3>
                <p>共<em class="count">13</em>条信息通知</p>
                <div>
                    <ul>
                        @if($messages)
                            @foreach($messages as $message)
                        <li>
                            <p>您好，投资人<a href="{{route('Home.Investor.getInvestorByUserId' , ['id'=>$message->user_id])}}" class="name">{{$message->toUser->realname}}</a>想约谈您的项目<a href="{{route('Home.Project.getProjectById' , ['id'=>$message->project_id])}}" class="pro-name name">{{$message->toProject->project_name}}</a>，请保持电话畅通，旁观者创投有专人与您联系。</p>
                            <p>旁观者创投<time>{{$message->created_at}}</time></p>
                        </li>
                            @endforeach
                        @endif
                    </ul>
                </div>
                <div class="focus-box" style="display: none;">
                    <dl>
                        <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                        <dd>
                            <p>张家杰</p>
                            <button>关注</button>
                        </dd>
                    </dl>
                </div>
            </section>

            <!--投资管理-->
            <!--start-->
            <section class="inv-run" style="display: none;">
                <h3>投资管理</h3>
                <!--投资管理-->
                <div class="sub-nav">
                    <ul class="sub-list-5" style="display: block;">
                        <li class="selected"><em>信息管理</em></li>
                        <li><em>领投跟投</em></li>
                    </ul>
                </div>
                <!--信息管理-->
                <div class="inv-list" style="display: block;">
                    <ul>
                        <li class="inv-info"><i>投资信息</i><em>单笔投资额度 (单位：万)</em></li>
                        <li class="inv-alone">
                            <i>个人投资</i>
                            <div>
                                <select>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                </select>
                                <em class="i_in min_v_1"><input type="text" placeholder="最低金额(万)" /></em> -
                                <em class="i_in max_v_2"><input type="text" placeholder="最高金额(万)" /></em>
                            </div>
                        </li>
                        <li><em class="error v_1_err" style="display: none;"></em></li>
                        <li><em class="error v_2_err" style="display: none;"></em></li>
                        <li><em class="error v_5_err" style="display: none;"></em></li>
                        <li class="inv-org">
                            <i>机构</i>
                            <div>
                                <select>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                </select>
                                <em class="i_in min_v_3"><input type="text" placeholder="最低金额(万)" /></em> -
                                <em class="i_in max_v_4"><input type="text" placeholder="最高金额(万)" /></em>
                            </div>
                        </li>
                        <li><em class="error v_3_err"></em></li>
                        <li><em class="error v_4_err"></em></li>
                        <li><em class="error v_6_err"></em></li>
                        <li class="inv-field inv-stage">
                            <i>投资阶段</i>
                            <div class="field stage_">
                                <ul>
                                    <li><input type="checkbox" value=""/>A轮</li>
                                    <li><input type="checkbox" value=""/>B轮</li>
                                    <li><input type="checkbox" value=""/>C轮</li>
                                    <li><input type="checkbox" value=""/>D轮</li>
                                    <li><input type="checkbox" value=""/>E轮</li>
                                </ul>
                            </div>
                        </li>
                        <li class="inv-field">
                            <i>投资领域</i>
                            <div class="field">
                                <ul>
                                    <li><input type="checkbox" value=""/>移动互联网</li>
                                    <li><input type="checkbox" value=""/>在线教育</li>
                                    <li><input type="checkbox" value=""/>互联网金融</li>
                                    <li><input type="checkbox" value=""/>汽车交通</li>
                                    <li><input type="checkbox" value=""/>医疗健康</li>
                                    <li><input type="checkbox" value=""/>旅游信息</li>
                                    <li><input type="checkbox" value=""/>本地生活</li>
                                    <li><input type="checkbox" value=""/>游戏竞技</li>
                                </ul>
                            </div>
                        </li>
                        <li class="inv-addr">
                            <i>所在地区</i>
                            <div class="addr">
                                <select>
                                    <option>广东省</option>
                                    <option>广东省</option>
                                    <option>广东省</option>
                                </select> -
                                <select>
                                    <option>广东省</option>
                                    <option>广东省</option>
                                    <option>广东省</option>
                                </select>
                            </div>
                        </li>
                        <li class="submit_btn"><button>提交</button></li>
                    </ul>
                    <div class="inved">
                        <h4>投资经历</h4>
                        <div class="table-box">
                            <div class="dl-box">
                                <dl>
                                    <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                                    <dd>
                                        <p><strong>美丽说</strong></p>
                                        <p><em>天使轮</em>红杉资本500万美元</p>
                                        <time>2014/12</time>
                                    </dd>
                                </dl>
                            </div>
                            <div class="dl-box">
                                <dl>
                                    <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                                    <dd>
                                        <p><strong>美丽说</strong></p>
                                        <p><em>天使轮</em>红杉资本500万美元</p>
                                        <time>2014/12</time>
                                    </dd>
                                </dl>
                            </div>
                            <div class="dl-box">
                                <dl>
                                    <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                                    <dd>
                                        <p><strong>美丽说</strong></p>
                                        <p><em>天使轮</em>红杉资本500万美元</p>
                                        <time>2014/12</time>
                                    </dd>
                                </dl>
                            </div>
                            <div class="dl-box">
                                <dl>
                                    <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                                    <dd>
                                        <p><strong>美丽说</strong></p>
                                        <p><em>天使轮</em>红杉资本500万美元</p>
                                        <time>2014/12</time>
                                    </dd>
                                </dl>
                            </div>
                        </div>
                        <div class="add-inv">
                            <p>添加投资经历</p>
                            <ul>
                                <li class="pro-name-inv"><i>项目名称</i><input type="text" /></li>
                                <li><em class="error pro_name_error" style="display: none;"></em></li>
                                <li class="inv-count">
                                    <i>融资轮次</i>
                                    <select>
                                        <option>不明确</option>
                                        <option>天使轮</option>
                                        <option>不明确</option>
                                    </select>
                                </li>
                                <li class="inv-grade">
                                    <i>融资额度</i>
                                    <div>
                                        <select>
                                            <option>人民币</option>
                                            <option>人民币</option>
                                            <option>人民币</option>
                                        </select>
                                        <input type="text" placeholder="万" />
                                    </div>
                                </li>
                                <li><em class="error inv_grade_error" style="display: none;"></em></li>
                                <li class="inv-body">
                                    <i>投资主体</i>
                                    <select>
                                        <option>个人</option>
                                        <option>个人</option>
                                        <option>个人</option>
                                    </select>
                                    <input type="text" />
                                </li>
                                <li><em class="error inv_body_error" style="display: none;"></em></li>
                                <li class="inv-date">
                                    <i>融资时间</i>
                                    <select class="year">
                                        <option>2015年</option>
                                        <option>2015年</option>
                                        <option>2015年</option>
                                    </select>
                                    <select class="month">
                                        <option>1月</option>
                                        <option>1月</option>
                                        <option>1月</option>
                                    </select>
                                </li>
                                <li class="btn-box">
                                    <button class="add-btn">添加</button>
                                    <button class="close_btn">取消</button>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

                <!--领投跟投-->
                <div class="inv-list chart-box" style="display: none">
                    <div class="dl-box">
                        <dl>
                            <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                            <dd>
                                <p><strong>美丽说</strong></p>
                                <p class="type">工业生产服务F2B平台</p>
                                <p class="color">求融资 <time>2015-08-00</time></p>
                            </dd>
                        </dl>
                        <div class="chart">
                            <ul>
                                <li>
                                    <i class="progress_cus" style="background: linear-gradient(-90deg, rgb(55, 195, 147) 50%, transparent 50%), linear-gradient(90deg, rgb(238, 238, 238) 50%, rgb(55, 195, 147) 50%);">
                                        <em class="progress-val">50%</em>
                                    </i>
                                </li>
                                <li >
                                    <em class="val">￥300万</em>
                                    <em>当前融资</em>
                                </li>
                                <li>
                                    <em class="val">￥500万</em>
                                    <em>需融资</em>
                                </li>
                                <li>
                                    <em class="val">15%</em>
                                    <em>出让股份</em>
                                </li>
                            </ul>
                            <p>您于2014年12月29日跟投了 <em>5</em> 万元</p>
                        </div>
                    </div>
                    <div class="dl-box">
                        <dl>
                            <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                            <dd>
                                <p><strong>美丽说</strong></p>
                                <p class="type">工业生产服务F2B平台</p>
                                <p class="color">求融资 <time>2015-08-00</time></p>
                            </dd>
                        </dl>
                        <div class="chart">
                            <ul>
                                <li>
                                    <i class="progress_cus" style="background: linear-gradient(-90deg, rgb(55, 195, 147) 50%, transparent 50%), linear-gradient(90deg, rgb(238, 238, 238) 50%, rgb(55, 195, 147) 50%);">
                                        <em class="progress-val">50%</em>
                                    </i>
                                </li>
                                <li >
                                    <em class="val">￥300万</em>
                                    <em>当前融资</em>
                                </li>
                                <li>
                                    <em class="val">￥500万</em>
                                    <em>需融资</em>
                                </li>
                                <li>
                                    <em class="val">15%</em>
                                    <em>出让股份</em>
                                </li>
                            </ul>
                            <p>您于2014年12月29日跟投了 <em>5</em> 万元</p>
                        </div>
                    </div>
                    <div class="dl-box">
                        <dl>
                            <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                            <dd>
                                <p><strong>美丽说</strong></p>
                                <p class="type">工业生产服务F2B平台</p>
                                <p class="color">求融资 <time>2015-08-00</time></p>
                            </dd>
                        </dl>
                        <div class="chart">
                            <ul>
                                <li>
                                    <i class="progress_cus" style="background: linear-gradient(-90deg, rgb(55, 195, 147) 50%, transparent 50%), linear-gradient(90deg, rgb(238, 238, 238) 50%, rgb(55, 195, 147) 50%);">
                                        <em class="progress-val">50%</em>
                                    </i>
                                </li>
                                <li >
                                    <em class="val">￥300万</em>
                                    <em>当前融资</em>
                                </li>
                                <li>
                                    <em class="val">￥500万</em>
                                    <em>需融资</em>
                                </li>
                                <li>
                                    <em class="val">15%</em>
                                    <em>出让股份</em>
                                </li>
                            </ul>
                            <p>您于2014年12月29日跟投了 <em>5</em> 万元</p>
                        </div>
                    </div>
                    <div class="dl-box">
                        <dl>
                            <dt><a href="#"><img src="images/userphoto_5.png"></a></dt>
                            <dd>
                                <p><strong>美丽说</strong></p>
                                <p class="type">工业生产服务F2B平台</p>
                                <p class="color">求融资 <time>2015-08-00</time></p>
                            </dd>
                        </dl>
                        <div class="chart">
                            <ul>
                                <li>
                                    <i class="progress_cus" style="background: linear-gradient(-90deg, rgb(55, 195, 147) 50%, transparent 50%), linear-gradient(90deg, rgb(238, 238, 238) 50%, rgb(55, 195, 147) 50%);">
                                        <em class="progress-val">50%</em>
                                    </i>
                                </li>
                                <li >
                                    <em class="val">￥300万</em>
                                    <em>当前融资</em>
                                </li>
                                <li>
                                    <em class="val">￥500万</em>
                                    <em>需融资</em>
                                </li>
                                <li>
                                    <em class="val">15%</em>
                                    <em>出让股份</em>
                                </li>
                            </ul>
                            <p>您于2014年12月29日跟投了 <em>5</em> 万元</p>
                        </div>
                    </div>
                </div>
            </section>

            <!--融资平台-->
            <!--start-->
            <section class="inv-terr" style="display: none;">
                <h3>融资平台</h3>
                <div class="sub-nav">
                    <ul class="sub-list-6 sub_">
                        <li class="selected"><em>修改信息</em></li>
                        <li><em>审核项目</em></li>
                    </ul>
                </div>
                <div class="terr-box finan_box" style="display: block;">
                    <ul>
                        <li class="comm-name"><i>企业名称</i><input type="text" /></li>
                        <li><em class="error comm_error"></em></li>
                        <li class="inv-logo"><i>公司logo</i><a href="#" class="uploadUserPhoto"><img src="images/userphoto_5.png" /></a><em class="format">jpg，png。文件大小不超过2m</em></li>
                        <li><i>二级域名</i><input type="text" /></li>
                        <li class="addr"><i>投资地域</i>
                            <select>
                                <option>广东省</option>
                                <option>广东省</option>
                                <option>广东省</option>
                            </select>
                            <select>
                                <option>广东省</option>
                                <option>广东省</option>
                                <option>广东省</option>
                            </select>
                        </li>
                        <li class="price"><i>投资金额</i>
                            <div class="inv-contain">
                                <select>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                    <option>人民币</option>
                                </select>
                                <input type="text" placeholder="最低金额(万)" class="minMoney" />
                                <input type="text" placeholder="最高金额(万)" class="maxMoney" />
                            </div>
                        </li>
                        <li><em class="error minMoney_err" style="display: none;"></em></li>
                        <li><em class="error maxMoney_err" style="display: none;"></em></li>
                        <li><em class="error compare_err" style="display: none;"></em></li>
                        <li class="desc"><i>企业介绍</i>
                            <textarea></textarea>
                        </li>
                        <li><em class="error comm_desc_err" style="display: none;"></em></li>
                        <li class="service">
                            <i>提供服务</i>
                            <div>
								<span class="tag">
									<ul>
                                        <li>一对一导贴身辅导<em class="close">x</em></li>
                                        <li>一对一导贴身<em class="close">x</em></li>
                                        <li>一对一<em class="close">x</em></li>
                                    </ul>
								</span>
                                <span class="add_input"><input type="text" placeholder="请输入内容" /><button class="add_server_btn">添加</button></span>
                            </div>
                        </li>
                        <li class="pro-cond">
                            <i>项目条件</i>
                            <div class="input_list">
                                <p><button class="remove_btn">X</button><input type="text" value="1." /></p>
                                <p><button class="remove_btn">X</button><input type="text" value="2." /></p>
                                <p><button class="remove_btn">X</button><input type="text" value="3." /></p>
                            </div>
                            <button class="pro-cond-btn">添加</button>
                        </li>
                        <li class="addr-detail"><i>详细地址</i><input type="text" /></li>
                        <li class="case"><i>成功案例</i>
                            <div>
                                <dl>
                                    <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                                    <dd>怪兽涂鸦</dd>
                                </dl>
                            </div>
                            <span><button>添加</button><input type="text" placeholder="输入您的项目名称"/></span>
                        </li>
                        <li><button class="submit_btn">提交</button></li>
                    </ul>
                </div>

                <!--审核项目-->
                <div class="approve-pro finan_box" style="display: none;">
                    <div class="state_box">
                        <p><b>审核状态</b><em class="state">未审核</em><em class="state no_appr">审核通过</em></p>
                        <p><b>融资状态</b><em class="state">未审核</em><em class="state no_appr">审核通过</em></p>
                    </div>
                    <div class="table-box">
                        <div class="dl-box">
                            <dl>
                                <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                                <dd>
                                    <p><strong>怪兽涂鸦</strong><em class="now_state">未审核</em></p>
                                    <p><em>场景摄影社交手机应用场景</em></p>
                                </dd>
                            </dl>
                        </div>
                        <div class="dl-box">
                            <dl>
                                <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                                <dd>
                                    <p><strong>怪兽涂鸦</strong><em class="now_state">未审核</em></p>
                                    <p><em>场景摄影社交手机应用场景</em></p>
                                </dd>
                            </dl>
                        </div>
                        <div class="dl-box">
                            <dl>
                                <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                                <dd>
                                    <p><strong>怪兽涂鸦</strong><em class="now_state">未审核</em></p>
                                    <p><em>场景摄影社交手机应用场景</em></p>
                                </dd>
                            </dl>
                        </div>
                        <div class="dl-box">
                            <dl>
                                <dt><a href="#"><img src="images/userphoto_5.png" /></a></dt>
                                <dd>
                                    <p><strong>怪兽涂鸦</strong><em class="now_state">未审核</em></p>
                                    <p><em>场景摄影社交手机应用场景</em></p>
                                </dd>
                            </dl>
                        </div>
                        <div class="dl-box addWork">
                            <p><a href="cre-project.html">创建新项目</a></p>
                        </div>
                    </div>
                </div>
            </section>
            <!--融资平台-->
            <!--end-->
        </div>
        </div>
        </div>
        </div>

    </main>
    <script>
        var EditUserInfoByUser  = "{{route('Api.Me.EditUserInfo')}}";
        var EditUserCreate      = "{{route('Api.Me.EditUserCreate')}}";
        var EditUserWork        = "{{route('Api.Me.EditUserWork')}}";
        var CheckPassword       = "{{route('Api.Me.CheckPassword')}}";
        var ChangePassword      = "{{route('Api.Me.ChangePassword')}}";
        var loginOut            = "{{route('Home.Auth.signOut')}}";
        var delUserCreate       = "{{route('Api.User.DelUserCreateById')}}";
        var delUserWork         = "{{route('Api.User.DelUserWorkById')}}";
    </script>
    <script>
        var uploader = new plupload.Uploader({
            runtimes: 'html5,flash,silverlight,html4',
            browse_button: 'inputImage',
            url: '{{ url('api/upload/image')  }}',

            chunk_size: '20mb',
            filters: {
                max_file_size: '10mb',
                mime_types: [
                    {title: "Image files", extensions: "jpg,gif,png"}
                ],
                prevent_duplicates: false
            },
            multi_selection: true,
            unique_names: true,

            flash_swf_url: '{{ url('vendor/plupload-2.1.2/Moxie.swf') }}',
            silverlight_xap_url: '{{ url('vendor/plupload-2.1.2/Moxie.xap') }}',

            file_data_name: 'photo',
            headers: {
                Accept: 'application/json'
            },

            multipart_params: {
                _token: '{{ csrf_token() }}'
            },

            init: {
                PostInit: function () {
                },

                FilesAdded: function (up, files) {
                    up.start();
                },

                BeforeUpload: function (up, file) {
                    up.settings.multipart_params.file_name = file.name;
                },

                UploadProgress: function (up, file) {
                    $('.s-color').html('上传中...');
                },

                Error: function (up, err) {
                    var responseObj = '', responseMessage = '';
                    try {
                        responseObj = $.parseJSON(err.response);
                        responseMessage = responseObj.message;
                    } catch ($e) {

                    }

                    noty({
                        type: 'error',
                        text: err.message + ' ' + responseMessage,
                        callback: {
                            afterClose: function () {
                                $('#inputImage').show();
                                $('#inputImageProgress').hide();
                            }
                        }
                    });
                },

                FileUploaded: function (up, file, info) {
                    var responseObj = '', responseMessage = '';
                    try {
                        responseObj = $.parseJSON(info.response);
                        responseMessage = responseObj.message;
                    } catch ($e) {

                    }

                    var $inputImage = $('.s-color');
                    $inputImage.html('上传成功！');

                    var imageUrl = '', imageId = 0;
                    if (responseObj && responseObj.data) {
                        var d = new Date();
                        imageUrl = "{{route('Api.Images.Show')}}?"+d.getTime();
                        imageId = responseObj.data.id;
                    }
                    $('#photo_id').attr('src', imageUrl);
                    if(imageId !== null){
                        $('#user_photo_id').val(imageId);
                    }else{
                        $('#user_photo_id').val('0');
                    }
                }
            }
        });
        uploader.init();
    </script>
@endsection